import UserService from "./system/user"
import LoginService from "./system/login"
import { isRelogin, download } from './common/request'
import request from './common/request'
import MenuService from "./system/menu"
import DictDataService from './system/dict/data'
import DictTypeService from './system/dict/type'
import GenService from './tool/gen'
import RoleService from "./system/role"

const userService = new UserService()
const loginService = new LoginService()
const menuService = new MenuService()
const dictDataService = new DictDataService()
const dictTypeService = new DictTypeService()
const genService = new GenService()
const roleService = new RoleService()

export {
  userService,
  loginService,
  menuService,
  dictDataService,
  dictTypeService,
  request,
  genService,
  roleService,
  isRelogin,
  download,
}